package com.qk.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * Date:2025/10/11
 * Author:zxc
 * Description
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Activity {
    //活动ID，主键
    private Integer id;
    //渠道来源，1:线上活动, 2:推广介绍
    private Integer channel;
    //活动名称
    private String name;
    //开始时间
    private LocalDateTime startTime;
    //结束时间
    private LocalDateTime endTime;
    //活动简介
    private String description;
    //活动类型，1:课程折扣, 2:代金券
    private Integer type;
    //课程折扣
    private Double discount;
    //代金券金额（元）
    private Integer voucher;
    //创建时间
    private LocalDateTime createTime;
    //修改时间
    private LocalDateTime updateTime;
}
